package cvi.com.reader.bean;

import java.io.Serializable;

/**
 * Created by WP on 2020/7/17.
 */

public class LoginBean implements Serializable {


    /**
     * code : 1
     * data : {"user_info":{"id":10,"party_branch":"建邺区党支部","name":"哈哈哈","avatar":"/uploads/avatar/dft.png","account":"zzl123654","mobile":"0","secret_guard_token":"euv0nY8gM6Wbmr4UI1sEmX7ZGNrLie","status":1},"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJiay5yZWFkZXIuY29tIiwiaWF0IjoxNjA2MjkyNDY1LCJ1aWQiOjEwfQ.CWykN8nIHCEIfZ10gytWRARjglwkMLLQNg8MHV2lnt4"}
     * msg : ok
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * user_info : {"id":10,"party_branch":"建邺区党支部","name":"哈哈哈","avatar":"/uploads/avatar/dft.png","account":"zzl123654","mobile":"0","secret_guard_token":"euv0nY8gM6Wbmr4UI1sEmX7ZGNrLie","status":1}
         * token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJiay5yZWFkZXIuY29tIiwiaWF0IjoxNjA2MjkyNDY1LCJ1aWQiOjEwfQ.CWykN8nIHCEIfZ10gytWRARjglwkMLLQNg8MHV2lnt4
         */

        private UserInfoBean user_info;
        private String token;

        public UserInfoBean getUser_info() {
            return user_info;
        }

        public void setUser_info(UserInfoBean user_info) {
            this.user_info = user_info;
        }

        public String getToken() {
            return token;
        }

        public void setToken(String token) {
            this.token = token;
        }

        public static class UserInfoBean {
            /**
             * id : 10
             * party_branch : 建邺区党支部
             * name : 哈哈哈
             * avatar : /uploads/avatar/dft.png
             * account : zzl123654
             * mobile : 0
             * secret_guard_token : euv0nY8gM6Wbmr4UI1sEmX7ZGNrLie
             * status : 1
             */

            private int id;
            private String party_branch;
            private String name;
            private String avatar;
            private String account;
            private String mobile;
            private String secret_guard_token;
            private int status;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getParty_branch() {
                return party_branch;
            }

            public void setParty_branch(String party_branch) {
                this.party_branch = party_branch;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getAccount() {
                return account;
            }

            public void setAccount(String account) {
                this.account = account;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getSecret_guard_token() {
                return secret_guard_token;
            }

            public void setSecret_guard_token(String secret_guard_token) {
                this.secret_guard_token = secret_guard_token;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }
    }
}
